projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
657cca9
)
(try_window_id): Fix computation of tab_offset when
author
Andreas Schwab
<schwab@suse.de>
Mon, 10 May 1999 12:53:07 +0000
(12:53 +0000)
committer
Andreas Schwab
<schwab@suse.de>
Mon, 10 May 1999 12:53:07 +0000
(12:53 +0000)
backing up over a character that is splitted across lines.
src/xdisp.c
patch
|
blob
|
history
diff --git
a/src/xdisp.c
b/src/xdisp.c
index 57feb78a1bf4516340491f32491848c956dbc363..b401f59de27a63e8e267e30570b77072ff449d3e 100644
(file)
--- a/
src/xdisp.c
+++ b/
src/xdisp.c
@@
-2708,7
+2708,7
@@
try_window_id (window)
if (bp.contin && bp.hpos != lmargin)
{
val.hpos = bp.prevhpos - width + lmargin;
- val.tab_offset = bp.tab_offset +
bp.prevhpos - width
;
+ val.tab_offset = bp.tab_offset +
width - bp.prevhpos
;
did_motion = 1;
DEC_BOTH (pos, pos_byte);
}